package test502

import "fmt"

func Run() {
	var num1 int = 10
	var num2 int = 20
	fmt.Println(num1 + num2)
	fmt.Println(num2 - num1)
	fmt.Println(num1 * num2)
	fmt.Println(num2 / num1)
	fmt.Println(num1 % num2)
}
func Avg1() {
	var englis int = 95
	var chinese int = 95
	var math int = 100
	score := englis + chinese + math
	avg1 := float32(score) / 3
	fmt.Println("总分为%d\n", score)
	fmt.Println("平均分:%.2f", avg1)

}
